import React from 'react'

class TodoFoot extends React.Component {
    // constructor(props){
    //     super();
    //     console.log('TodoFoot.constructor',props)
    // }
    render() {
        console.log('TodoFoot.props', this.props)
        const { datalist } = this.props;

        return (
            <div>
                总数：{datalist.length}
            </div>
        )
    }
}

export default TodoFoot;